package com.coffeeloversupportlibrary.coffeelover.mercury.entity;

import java.io.Serializable;

/**
 * @author 盛守义
 * @createTime 2021/10/25 14:37
 * @projectName TurningCoffee
 * @className User.java
 * @description TODO
 */
public class User implements Serializable {

    private Boolean success;
    private Integer code;
    private String message;
    private DataDTO data;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO implements Serializable {
        private UserDTO user;

        public UserDTO getUser() {
            return user;
        }

        public void setUser(UserDTO user) {
            this.user = user;
        }

        public static class UserDTO implements Serializable {
            private String userId;
            private String userTel;
            private String userNickname;
            private String userFavouriteCoffee;
            private String userImg;
            private Integer userSweet;
            private Integer userBitterness;
            private Integer userAcidity;
            private Integer userAlcohol;
            private Integer userAftertaste;
            private Integer wantNum;
            private Integer tastedNum;
            private Integer coffeeBean;

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getUserTel() {
                return userTel;
            }

            public void setUserTel(String userTel) {
                this.userTel = userTel;
            }

            public String getUserNickname() {
                return userNickname;
            }

            public void setUserNickname(String userNickname) {
                this.userNickname = userNickname;
            }

            public Object getUserFavouriteCoffee() {
                return userFavouriteCoffee;
            }

            public void setUserFavouriteCoffee(String userFavouriteCoffee) {
                this.userFavouriteCoffee = userFavouriteCoffee;
            }

            public String getUserImg() {
                return userImg;
            }

            public void setUserImg(String userImg) {
                this.userImg = userImg;
            }

            public Integer getUserSweet() {
                return userSweet;
            }

            public void setUserSweet(Integer userSweet) {
                this.userSweet = userSweet;
            }

            public Integer getUserBitterness() {
                return userBitterness;
            }

            public void setUserBitterness(Integer userBitterness) {
                this.userBitterness = userBitterness;
            }

            public Integer getUserAcidity() {
                return userAcidity;
            }

            public void setUserAcidity(Integer userAcidity) {
                this.userAcidity = userAcidity;
            }

            public Integer getUserAlcohol() {
                return userAlcohol;
            }

            public void setUserAlcohol(Integer userAlcohol) {
                this.userAlcohol = userAlcohol;
            }

            public Integer getUserAftertaste() {
                return userAftertaste;
            }

            public void setUserAftertaste(Integer userAftertaste) {
                this.userAftertaste = userAftertaste;
            }

            public Integer getWantNum() {
                return wantNum;
            }

            public void setWantNum(Integer wantNum) {
                this.wantNum = wantNum;
            }

            public Integer getTastedNum() {
                return tastedNum;
            }

            public void setTastedNum(Integer tastedNum) {
                this.tastedNum = tastedNum;
            }

            public Integer getCoffeeBean() {
                return coffeeBean;
            }

            public void setCoffeeBean(Integer coffeeBean) {
                this.coffeeBean = coffeeBean;
            }
        }
    }
}
